#pragma once

/*---------------------------------------------------------------------------*/
/*                                Image Data                                 */
/*---------------------------------------------------------------------------*/

#define IMG_FLOOR_W 11
#define IMG_FLOOR_H 11

PROGMEM static const byte imgFloor[][22] = { // 11x11 x4
    {
        0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x00,
        0x00, 0x00, 0x00, 0x00, 0x00, 0x04
    },{
        0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x55, 0xAA, 0x02, 0x05, 0x02, 0x05, 0x02,
        0x05, 0x02, 0x05, 0x02, 0x05, 0x02
    },{
        0xAA, 0xFF, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA, 0xFF, 0xAA, 0x02, 0x07, 0x02, 0x07, 0x02,
        0x07, 0x02, 0x07, 0x02, 0x07, 0x02
    },{
        0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x07, 0x07, 0x07, 0x07, 0x07,
        0x07, 0x07, 0x07, 0x07, 0x07, 0x07
    }
};

#define IMG_HEART_W 11
#define IMG_HEART_H 11

PROGMEM static const uint8_t imgHeartMask[22] = { // 11x11
    0x00, 0x38, 0x7C, 0xFE, 0xFE, 0xFC, 0xFE, 0xFE, 0x7C, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
    0x03, 0x01, 0x00, 0x00, 0x00, 0x00
};

PROGMEM static const uint8_t imgHeart[22] = { // 11x11
    0x00, 0x00, 0x38, 0x7C, 0xFC, 0xF8, 0x7C, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};

#define IMG_KNIGHT_W 15
#define IMG_KNIGHT_H 15

PROGMEM static const uint8_t imgKnightMask[][30] = { // 15x15 x18
    {
        0xC0, 0xC0, 0xC0, 0xE0, 0xF8, 0xFF, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFB, 0xF0, 0xC0, 0xC0, 0x00,
        0x03, 0x07, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x0F, 0x03, 0x00
    },{
        0x00, 0xE0, 0xE0, 0xE0, 0xF8, 0xFF, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFB, 0xF0, 0x30, 0x00, 0x00,
        0x01, 0x07, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x05, 0x00, 0x00
    },{
        0x00, 0xC0, 0xC0, 0xC0, 0xF0, 0xF8, 0xFE, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFB, 0xF0, 0xC0, 0x00,
        0x00, 0x03, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x73, 0x03, 0x01, 0x01
    },{
        0x00, 0x00, 0x30, 0xF0, 0xF0, 0xF8, 0xFE, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFB, 0xF0, 0xC0, 0x00,
        0x00, 0x00, 0x7D, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x73, 0x03, 0x01, 0x01
    },{
        0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0xF8, 0xF0, 0xE0, 0xC0, 0x00,
        0x00, 0x03, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x77, 0x07, 0x03, 0x01
    },{
        0x00, 0x00, 0x00, 0xF0, 0xF0, 0xFB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFC, 0xF8, 0xF0, 0xE0, 0xC0, 0x00,
        0x00, 0x00, 0x72, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x77, 0x07, 0x03, 0x01
    },{
        0xC0, 0xC0, 0xC0, 0xF0, 0xFB, 0xFF, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFB, 0xE0, 0xC0, 0xC0, 0x00,
        0x03, 0x0F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x0F, 0x03, 0x00
    },{
        0x00, 0x30, 0xF0, 0xF0, 0xFB, 0xFF, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFB, 0xF0, 0x70, 0x00, 0x00,
        0x00, 0x01, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x77, 0x01, 0x00, 0x00
    },{
        0xC0, 0xC0, 0xE0, 0xFB, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0xFB, 0xF0, 0xC0, 0xC0, 0xC0, 0x00,
        0x03, 0x0F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x0F, 0x03, 0x00
    },{
        0x00, 0x70, 0xF0, 0xFB, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0xFB, 0xF0, 0xF0, 0x30, 0x00, 0x00,
        0x00, 0x01, 0x77, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x01, 0x00, 0x00
    },{
        0xC0, 0xE0, 0xF0, 0xF8, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFB, 0xF0, 0xE0, 0xC0, 0x00, 0x00, 0x01,
        0x03, 0x07, 0x77, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x03, 0x00, 0x00
    },{
        0xC0, 0xE0, 0xF0, 0xF8, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFB, 0xF0, 0xF0, 0x00, 0x00, 0x00, 0x01,
        0x03, 0x07, 0x77, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x72, 0x00, 0x00, 0x00
    },{
        0xC0, 0xF0, 0xFB, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFE, 0xF8, 0xF0, 0xC0, 0xC0, 0xC0, 0x00, 0x01,
        0x01, 0x03, 0x73, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x03, 0x00, 0x00
    },{
        0xC0, 0xF0, 0xFB, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFE, 0xF8, 0xF0, 0xF0, 0x30, 0x00, 0x00, 0x01,
        0x01, 0x03, 0x73, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7D, 0x00, 0x00, 0x00
    },{
        0xC0, 0xC0, 0xF0, 0xFB, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0xF8, 0xE0, 0xC0, 0xC0, 0xC0, 0x00,
        0x03, 0x0F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x07, 0x03, 0x00
    },{
        0x00, 0x30, 0xF0, 0xFB, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0xF8, 0xE0, 0xE0, 0xE0, 0x00, 0x00,
        0x00, 0x05, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x07, 0x01, 0x00
    },{
        0xC0, 0xC0, 0xC0, 0xF3, 0xFF, 0xFF, 0xFE, 0xFE, 0xFE, 0xFF, 0xFF, 0xF3, 0xC0, 0xC0, 0xC0, 0x00,
        0x03, 0x07, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x07, 0x03, 0x00
    },{
        0x00, 0xB0, 0xF0, 0xF3, 0xFF, 0xFF, 0xFE, 0xFE, 0xFE, 0xFF, 0xFF, 0xF3, 0xF0, 0xB0, 0x00, 0x00,
        0x00, 0x03, 0x77, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x77, 0x03, 0x00, 0x00
    }
};

PROGMEM static const uint8_t imgKnight[][30] = { // 15x15 x18
    {
        0x00, 0x80, 0x80, 0x80, 0x60, 0xF8, 0xFA, 0xFC, 0xFC, 0x7E, 0xBA, 0xB0, 0x80, 0x80, 0x00, 0x00,
        0x00, 0x02, 0x07, 0x20, 0x2F, 0x2F, 0x2F, 0x28, 0x27, 0x2F, 0x0B, 0x02, 0x00, 0x00
    },{
        0x00, 0x00, 0x40, 0x80, 0x60, 0xF8, 0xFA, 0xFC, 0xFC, 0x7E, 0xBA, 0x50, 0x20, 0x00, 0x00, 0x00,
        0x00, 0x01, 0x07, 0x20, 0x2F, 0x2F, 0x2F, 0x28, 0x27, 0x2F, 0x05, 0x00, 0x00, 0x00
    },{
        0x00, 0x00, 0x80, 0x80, 0x00, 0xF0, 0xF8, 0x7E, 0xBC, 0xBC, 0xBE, 0xBA, 0x30, 0xC0, 0x00, 0x00,
        0x00, 0x00, 0x02, 0x2C, 0x2F, 0x2F, 0x20, 0x2F, 0x2B, 0x22, 0x00, 0x01, 0x00, 0x00
    },{
        0x00, 0x00, 0x00, 0x20, 0x00, 0xF0, 0xF8, 0x7E, 0x9C, 0x6C, 0x0E, 0xFA, 0xF0, 0xC0, 0x00, 0x00,
        0x00, 0x00, 0x00, 0x2C, 0x2F, 0x2F, 0x20, 0x2F, 0x25, 0x22, 0x01, 0x01, 0x00, 0x00
    },{
        0x00, 0x00, 0x00, 0x80, 0xA0, 0xB0, 0xBA, 0x7E, 0xFE, 0xDC, 0x98, 0xB0, 0xE0, 0xC0, 0x00, 0x00,
        0x00, 0x00, 0x02, 0x2A, 0x2B, 0x2F, 0x20, 0x2F, 0x2D, 0x23, 0x03, 0x03, 0x01, 0x00
    },{
        0x00, 0x00, 0x00, 0x00, 0xA0, 0xE0, 0x9A, 0x7E, 0xFE, 0xDC, 0x98, 0xB0, 0xE0, 0xC0, 0x00, 0x00,
        0x00, 0x00, 0x00, 0x22, 0x25, 0x2F, 0x20, 0x2F, 0x2D, 0x23, 0x03, 0x03, 0x01, 0x00
    },{
        0x00, 0x80, 0x80, 0x00, 0xF0, 0xFA, 0xDE, 0x9C, 0xFC, 0xFE, 0xFA, 0x80, 0x00, 0x80, 0x00, 0x00,
        0x00, 0x02, 0x00, 0x2F, 0x2D, 0x2B, 0x2B, 0x2B, 0x2B, 0x23, 0x09, 0x02, 0x00, 0x00
    },{
        0x00, 0x00, 0x20, 0x00, 0xF0, 0xFA, 0xDE, 0x9C, 0xFC, 0xFE, 0xFA, 0x80, 0x00, 0x00, 0x00, 0x00,
        0x00, 0x00, 0x00, 0x2F, 0x2D, 0x2B, 0x2B, 0x2B, 0x2B, 0x23, 0x01, 0x00, 0x00, 0x00
    },{
        0x00, 0x80, 0x00, 0x80, 0xFA, 0xFE, 0xFC, 0x9C, 0xDE, 0xFA, 0xF0, 0x00, 0x80, 0x80, 0x00, 0x00,
        0x00, 0x02, 0x09, 0x23, 0x2B, 0x2B, 0x2B, 0x2B, 0x2D, 0x2F, 0x00, 0x02, 0x00, 0x00
    },{
        0x00, 0x00, 0x00, 0x80, 0xFA, 0xFE, 0xFC, 0x9C, 0xDE, 0xFA, 0xF0, 0x00, 0x20, 0x00, 0x00, 0x00,
        0x00, 0x00, 0x01, 0x23, 0x2B, 0x2B, 0x2B, 0x2B, 0x2D, 0x2F, 0x00, 0x00, 0x00, 0x00
    },{
        0x00, 0xC0, 0xE0, 0xB0, 0x98, 0xDC, 0xFE, 0x7E, 0xBA, 0xB0, 0xA0, 0x80, 0x00, 0x00, 0x00, 0x00,
        0x01, 0x03, 0x03, 0x23, 0x2D, 0x2F, 0x20, 0x2F, 0x2B, 0x2A, 0x02, 0x00, 0x00, 0x00
    },{
        0x00, 0xC0, 0xE0, 0xB0, 0x98, 0xDC, 0xFE, 0x7E, 0x9A, 0xE0, 0xA0, 0x00, 0x00, 0x00, 0x00, 0x00,
        0x01, 0x03, 0x03, 0x23, 0x2D, 0x2F, 0x20, 0x2F, 0x25, 0x22, 0x00, 0x00, 0x00, 0x00
    },{
        0x00, 0xC0, 0x30, 0xBA, 0xBE, 0xBC, 0xBC, 0x7E, 0xF8, 0xF0, 0x00, 0x80, 0x80, 0x00, 0x00, 0x00,
        0x00, 0x01, 0x00, 0x22, 0x2B, 0x2F, 0x20, 0x2F, 0x2F, 0x2C, 0x02, 0x00, 0x00, 0x00
    },{
        0x00, 0xC0, 0xF0, 0xFA, 0x0E, 0x6C, 0x9C, 0x7E, 0xF8, 0xF0, 0x00, 0x20, 0x00, 0x00, 0x00, 0x00,
        0x00, 0x01, 0x01, 0x22, 0x25, 0x2F, 0x20, 0x2F, 0x2F, 0x2C, 0x00, 0x00, 0x00, 0x00
    },{
        0x00, 0x80, 0x80, 0xB0, 0xBA, 0x7E, 0xFC, 0xFC, 0xFA, 0xF8, 0x60, 0x80, 0x80, 0x80, 0x00, 0x00,
        0x00, 0x02, 0x0B, 0x2F, 0x27, 0x28, 0x2F, 0x2F, 0x2F, 0x20, 0x07, 0x02, 0x00, 0x00
    },{
        0x00, 0x00, 0x20, 0x50, 0xBA, 0x7E, 0xFC, 0xFC, 0xFA, 0xF8, 0x60, 0x80, 0x40, 0x00, 0x00, 0x00,
        0x00, 0x00, 0x05, 0x2F, 0x27, 0x28, 0x2F, 0x2F, 0x2F, 0x20, 0x07, 0x01, 0x00, 0x00
    },{
        0x00, 0x80, 0x80, 0x00, 0xD2, 0x9E, 0xFC, 0xFC, 0xFC, 0x9E, 0xD2, 0x00, 0x80, 0x80, 0x00, 0x00,
        0x00, 0x02, 0x02, 0x21, 0x2B, 0x2B, 0x2B, 0x2B, 0x2B, 0x21, 0x02, 0x02, 0x00, 0x00
    },{
        0x00, 0x00, 0xA0, 0x00, 0xD2, 0x9E, 0xFC, 0xFC, 0xFC, 0x9E, 0xD2, 0x00, 0xA0, 0x00, 0x00, 0x00,
        0x00, 0x00, 0x02, 0x21, 0x2B, 0x2B, 0x2B, 0x2B, 0x2B, 0x21, 0x02, 0x00, 0x00, 0x00
    }
};

#define IMG_SHADOW_W 7
#define IMG_SHADOW_H 3

PROGMEM static const uint8_t imgShadow[7] = { // 7x3
    0x02, 0x02, 0x07, 0x07, 0x07, 0x02, 0x02,
};

#define IMG_CURSOR_W 15
#define IMG_CURSOR_H 15

PROGMEM static const uint8_t imgCursorMask[30] = { // 15x15
    0x1F, 0x1F, 0x1F, 0x07, 0x07, 0xC0, 0xE0, 0xE0, 0xE0, 0xC0, 0x07, 0x07, 0x1F, 0x1F, 0x1F, 0x7C,
    0x7C, 0x7C, 0x70, 0x70, 0x01, 0x03, 0x03, 0x03, 0x01, 0x70, 0x70, 0x7C, 0x7C, 0x7C
};

PROGMEM static const uint8_t imgCursor[30] = { // 15x15
    0x00, 0x0E, 0x02, 0x02, 0x00, 0x00, 0x80, 0xC0, 0x80, 0x00, 0x00, 0x02, 0x02, 0x0E, 0x00, 0x00,
    0x38, 0x20, 0x20, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x20, 0x20, 0x38, 0x00
};

#define IMG_PETIT_W 9
#define IMG_PETIT_H 7

PROGMEM static const uint8_t imgPetitMask[][9] = { // 9x8 x2
    { 0x0C, 0x3C, 0x7F, 0xFF, 0xFE, 0xFF, 0x7F, 0x3C, 0x0C },
    { 0x0E, 0x1E, 0x7F, 0xFF, 0xFE, 0xFF, 0x7F, 0x1E, 0x0E }
};

PROGMEM static const uint8_t imgPetit[][9] = { // 9x8 x2
    { 0x00, 0x08, 0x20, 0x5E, 0x5C, 0x5E, 0x20, 0x08, 0x00 },
    { 0x00, 0x0C, 0x00, 0x5E, 0x5C, 0x5E, 0x00, 0x0C, 0x00 }
};

#define IMG_READY_W 64
#define IMG_READY_H 16

PROGMEM static const uint8_t imgReady[128] = { // 64x16
    0x00, 0xFE, 0xFE, 0xFE, 0x86, 0x86, 0xC6, 0xFE, 0xFC, 0x78, 0x00, 0x00, 0xFE, 0xFE, 0xFE, 0xC6,
    0xC6, 0xC6, 0xC6, 0x06, 0x00, 0x00, 0x00, 0xE0, 0xF8, 0x3E, 0x06, 0x3E, 0xFC, 0xE0, 0x80, 0x00,
    0x00, 0x00, 0xFE, 0xFE, 0xFE, 0x06, 0x06, 0x06, 0x0E, 0x1C, 0xFC, 0xF8, 0xF0, 0x00, 0x06, 0x3E,
    0xFE, 0xF8, 0xC0, 0xF8, 0xFE, 0x3E, 0x06, 0x00, 0x0C, 0x06, 0x86, 0x86, 0xFE, 0xFC, 0xF8, 0x00,
    0x00, 0x3F, 0x3F, 0x3F, 0x01, 0x01, 0x03, 0x0F, 0x3E, 0x3C, 0x30, 0x00, 0x3F, 0x3F, 0x3F, 0x30,
    0x30, 0x30, 0x30, 0x30, 0x20, 0x38, 0x3F, 0x0F, 0x07, 0x06, 0x06, 0x06, 0x07, 0x0F, 0x3F, 0x3C,
    0x20, 0x00, 0x3F, 0x3F, 0x3F, 0x30, 0x30, 0x30, 0x38, 0x1C, 0x1F, 0x0F, 0x03, 0x00, 0x00, 0x00,
    0x00, 0x3F, 0x3F, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3B, 0x3B, 0x3B, 0x01, 0x00, 0x00
};

#define IMG_OVER_W 104
#define IMG_OVER_H 16

PROGMEM static const uint8_t imgOver[208] = { // 104x16
    0x00, 0xE0, 0xF8, 0xFC, 0x1C, 0x0E, 0x06, 0x86, 0x86, 0x86, 0x86, 0x8C, 0x00, 0x00, 0x00, 0x00,
    0xE0, 0xFC, 0x3E, 0x06, 0x3E, 0xFC, 0xF0, 0x80, 0x00, 0x00, 0x00, 0xFE, 0xFE, 0xFE, 0x1E, 0xFE,
    0xF8, 0x80, 0x00, 0x80, 0xF0, 0xFE, 0x1E, 0xFE, 0xFE, 0xFE, 0x00, 0x00, 0xFE, 0xFE, 0xFE, 0xC6,
    0xC6, 0xC6, 0xC6, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0xE0, 0xF8, 0xFC, 0x1C, 0x0E, 0x06, 0x06,
    0x06, 0x06, 0x1E, 0xFC, 0xF8, 0xF0, 0x02, 0x1E, 0xFE, 0xFE, 0xE0, 0x00, 0x00, 0x00, 0xE0, 0xFC,
    0x7E, 0x1E, 0x02, 0xFE, 0xFE, 0xFE, 0xC6, 0xC6, 0xC6, 0xC6, 0x06, 0x00, 0x00, 0xFE, 0xFE, 0xFE,
    0x86, 0x86, 0xC6, 0xFE, 0xFC, 0x78, 0x00, 0x00, 0x00, 0x03, 0x0F, 0x1F, 0x1C, 0x38, 0x30, 0x31,
    0x31, 0x3F, 0x3F, 0x1F, 0x00, 0x20, 0x38, 0x3F, 0x0F, 0x07, 0x06, 0x06, 0x06, 0x07, 0x1F, 0x3F,
    0x3C, 0x20, 0x00, 0x3F, 0x3F, 0x3F, 0x00, 0x00, 0x0F, 0x3F, 0x3C, 0x3F, 0x07, 0x00, 0x00, 0x3F,
    0x3F, 0x3F, 0x00, 0x00, 0x3F, 0x3F, 0x3F, 0x30, 0x30, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x07, 0x0F, 0x1F, 0x3C, 0x30, 0x30, 0x30, 0x30, 0x38, 0x1C, 0x1F, 0x0F, 0x03, 0x00, 0x00,
    0x00, 0x07, 0x1F, 0x3F, 0x38, 0x3F, 0x1F, 0x03, 0x00, 0x00, 0x00, 0x3F, 0x3F, 0x3F, 0x30, 0x30,
    0x30, 0x30, 0x30, 0x00, 0x00, 0x3F, 0x3F, 0x3F, 0x01, 0x01, 0x03, 0x0F, 0x3E, 0x3C, 0x30, 0x00
};

/*---------------------------------------------------------------------------*/
/*                                Sound Data                                 */
/*---------------------------------------------------------------------------*/

enum {
    SND_PRIO_START = 0,
    SND_PRIO_OVER,
    SND_PRIO_EVENT,
    SND_PRIO_BOUND,
    SND_PRIO_MISC,
};

PROGMEM static const byte soundStart[] = {
    0x90, 0x48, 0x00, 0x64, 0x90, 0x4A, 0x00, 0x64, 0x90, 0x4C, 0x00, 0x64, 0x90, 0x4D, 0x00, 0x64,
    0x90, 0x4F, 0x00, 0xC8, 0x80, 0xF0
};

PROGMEM static const byte soundOver[] = {
    0x90, 0x37, 0x00, 0x78, 0x90, 0x36, 0x00, 0x8C, 0x90, 0x35, 0x00, 0xA0, 0x90, 0x34, 0x00, 0xB4,
    0x90, 0x33, 0x00, 0xC8, 0x90, 0x32, 0x00, 0xDC, 0x90, 0x31, 0x00, 0xF0, 0x90, 0x30, 0x00, 0xFF,
    0x80, 0xF0
};

PROGMEM static const byte soundHeart[] = {
    0x90, 0x49, 0x00, 0x28, 0x90, 0x61, 0x00, 0x28, 0x90, 0x4E, 0x00, 0x28, 0x90, 0x66, 0x00, 0x28,
    0x90, 0x4B, 0x00, 0x28, 0x90, 0x63, 0x00, 0x28, 0x90, 0x52, 0x00, 0x28, 0x90, 0x6A, 0x00, 0x28,
    0x90, 0x50, 0x00, 0x28, 0x90, 0x68, 0x00, 0x28, 0x80, 0xF0
};

PROGMEM static const byte soundEvaluate[] = {
    0x90, 0x50, 0x00, 0x1E, 0x80, 0x00, 0x46, 0x90, 0x50, 0x00, 0x1E, 0x80, 0x00, 0x46, 0x90, 0x50,
    0x00, 0x1E, 0x80, 0x00, 0x46, 0x90, 0x50, 0x00, 0x1E, 0x80, 0x00, 0x46, 0x90, 0x50, 0x00, 0x1E,
    0x80, 0x00, 0x46, 0x90, 0x50, 0x00, 0x1E, 0x80, 0xF0
};

PROGMEM static const byte soundLevelUp[] = {
    0x90, 0x49, 0x00, 0x50, 0x90, 0x4D, 0x00, 0x78, 0x80, 0x00, 0x50, 0x90, 0x49, 0x00, 0x50, 0x90,
    0x4D, 0x00, 0x78, 0x80, 0x00, 0x50, 0x90, 0x49, 0x00, 0x50, 0x90, 0x4D, 0x00, 0x78, 0x80, 0x00,
    0x50, 0x80, 0xF0
};

PROGMEM static const byte soundBound[] = {
    0x90, 0x37, 0x00, 0x0A, 0x90, 0x34, 0x00, 0x0A, 0x90, 0x30, 0x00, 0x0A, 0x90, 0x38, 0x00, 0x05,
    0x90, 0x35, 0x00, 0x05, 0x90, 0x31, 0x00, 0x05, 0x80, 0xF0
};

PROGMEM static const byte soundPointLow[][26] = {
    {
        0x90, 0x3C, 0x00, 0x1E, 0x90, 0x30, 0x00, 0x0A, 0x90, 0x3C, 0x00, 0x14, 0x90, 0x30, 0x00, 0x14,
        0x90, 0x3C, 0x00, 0x0A, 0x90, 0x30, 0x00, 0x1E, 0x80, 0xF0
    },{
        0x90, 0x3E, 0x00, 0x1E, 0x90, 0x32, 0x00, 0x0A, 0x90, 0x3E, 0x00, 0x14, 0x90, 0x32, 0x00, 0x14,
        0x90, 0x3E, 0x00, 0x0A, 0x90, 0x32, 0x00, 0x1E, 0x80, 0xF0
    },{
        0x90, 0x40, 0x00, 0x1E, 0x90, 0x34, 0x00, 0x0A, 0x90, 0x40, 0x00, 0x14, 0x90, 0x34, 0x00, 0x14,
        0x90, 0x40, 0x00, 0x0A, 0x90, 0x34, 0x00, 0x1E, 0x80, 0xF0
    },{
        0x90, 0x41, 0x00, 0x1E, 0x90, 0x35, 0x00, 0x0A, 0x90, 0x41, 0x00, 0x14, 0x90, 0x35, 0x00, 0x14,
        0x90, 0x41, 0x00, 0x0A, 0x90, 0x35, 0x00, 0x1E, 0x80, 0xF0
    },{
        0x90, 0x43, 0x00, 0x1E, 0x90, 0x37, 0x00, 0x0A, 0x90, 0x43, 0x00, 0x14, 0x90, 0x37, 0x00, 0x14,
        0x90, 0x43, 0x00, 0x0A, 0x90, 0x37, 0x00, 0x1E, 0x80, 0xF0
    },{
        0x90, 0x45, 0x00, 0x1E, 0x90, 0x39, 0x00, 0x0A, 0x90, 0x45, 0x00, 0x14, 0x90, 0x39, 0x00, 0x14,
        0x90, 0x45, 0x00, 0x0A, 0x90, 0x39, 0x00, 0x1E, 0x80, 0xF0
    },{
        0x90, 0x47, 0x00, 0x1E, 0x90, 0x3B, 0x00, 0x0A, 0x90, 0x47, 0x00, 0x14, 0x90, 0x3B, 0x00, 0x14,
        0x90, 0x47, 0x00, 0x0A, 0x90, 0x3B, 0x00, 0x1E, 0x80, 0xF0
    }
};

PROGMEM static const byte soundPointHigh[][38] = {
    {
        0x90, 0x60, 0x00, 0x1C, 0x90, 0x54, 0x00, 0x1C, 0x90, 0x48, 0x00, 0x1C, 0x90, 0x3C, 0x00, 0x1C,
        0x90, 0x48, 0x00, 0x1C, 0x90, 0x54, 0x00, 0x1C, 0x90, 0x60, 0x00, 0x1C, 0x80, 0xF0, 0x00, 0x00,
        0x00, 0x00, 0x00, 0x00, 0x00, 0x00
    },{
        0x90, 0x62, 0x00, 0x1A, 0x90, 0x56, 0x00, 0x1C, 0x90, 0x4A, 0x00, 0x1C, 0x90, 0x3E, 0x00, 0x0E,
        0x90, 0x32, 0x00, 0x04, 0x90, 0x3E, 0x00, 0x0E, 0x90, 0x4A, 0x00, 0x1C, 0x90, 0x56, 0x00, 0x1C,
        0x90, 0x62, 0x00, 0x1A, 0x80, 0xF0
    },{
        0x90, 0x64, 0x00, 0x16, 0x90, 0x58, 0x00, 0x1C, 0x90, 0x4C, 0x00, 0x1C, 0x90, 0x40, 0x00, 0x10,
        0x90, 0x34, 0x00, 0x08, 0x90, 0x40, 0x00, 0x10, 0x90, 0x4C, 0x00, 0x1C, 0x90, 0x58, 0x00, 0x1C,
        0x90, 0x64, 0x00, 0x16, 0x80, 0xF0
    },{
        0x90, 0x65, 0x00, 0x10, 0x90, 0x59, 0x00, 0x1C, 0x90, 0x4D, 0x00, 0x1C, 0x90, 0x41, 0x00, 0x14,
        0x90, 0x35, 0x00, 0x0C, 0x90, 0x41, 0x00, 0x14, 0x90, 0x4D, 0x00, 0x1C, 0x90, 0x59, 0x00, 0x1C,
        0x90, 0x65, 0x00, 0x10, 0x80, 0xF0
    },{
        0x90, 0x67, 0x00, 0x0A, 0x90, 0x5B, 0x00, 0x1C, 0x90, 0x4F, 0x00, 0x1C, 0x90, 0x43, 0x00, 0x18,
        0x90, 0x37, 0x00, 0x10, 0x90, 0x43, 0x00, 0x18, 0x90, 0x4F, 0x00, 0x1C, 0x90, 0x5B, 0x00, 0x1C,
        0x90, 0x67, 0x00, 0x0A, 0x80, 0xF0
    },{
        0x90, 0x69, 0x00, 0x08, 0x90, 0x5D, 0x00, 0x1C, 0x90, 0x51, 0x00, 0x1C, 0x90, 0x45, 0x00, 0x18,
        0x90, 0x39, 0x00, 0x14, 0x90, 0x45, 0x00, 0x18, 0x90, 0x51, 0x00, 0x1C, 0x90, 0x5D, 0x00, 0x1C,
        0x90, 0x69, 0x00, 0x08, 0x80, 0xF0
    },{
        0x90, 0x6B, 0x00, 0x04, 0x90, 0x5F, 0x00, 0x1C, 0x90, 0x53, 0x00, 0x1C, 0x90, 0x47, 0x00, 0x1A,
        0x90, 0x3B, 0x00, 0x18, 0x90, 0x47, 0x00, 0x1A, 0x90, 0x53, 0x00, 0x1C, 0x90, 0x5F, 0x00, 0x1C,
        0x90, 0x6B, 0x00, 0x04, 0x80, 0xF0
    }
};

PROGMEM static const byte soundFast[] = {
    0x90, 0x4B, 0x00, 0x0A, 0x80, 0x00, 0x32, 0x90, 0x4C, 0x00, 0x0A, 0x80, 0x00, 0x32, 0x90, 0x4B,
    0x00, 0x0A, 0x80, 0x00, 0x32, 0x90, 0x4C, 0x00, 0x0A, 0x80, 0xF0
};

PROGMEM static const byte soundRepair[][10] = {
    { 0x90, 0x61, 0x00, 0x14, 0x90, 0x68, 0x00, 0x0A, 0x80, 0xF0 },
    { 0x90, 0x64, 0x00, 0x14, 0x90, 0x6B, 0x00, 0x0A, 0x80, 0xF0 },
    { 0x90, 0x67, 0x00, 0x14, 0x90, 0x6E, 0x00, 0x0A, 0x80, 0xF0 },
    { 0x90, 0x6A, 0x00, 0x14, 0x90, 0x71, 0x00, 0x0A, 0x80, 0xF0 },
    { 0x90, 0x6D, 0x00, 0x14, 0x90, 0x74, 0x00, 0x0A, 0x80, 0xF0 },
};

/*---------------------------------------------------------------------------*/
/*                                Other Data                                 */
/*---------------------------------------------------------------------------*/

#define LED_VALUE(r, g, b)  ((r) * 25 + (g) * 5 + (b))
#define LED_IDX_HEART       7
#define LED_LEVEL_HEART     16
#define LED_LEVEL_POINT     8
#define LED_LEVEL_POINT_BLK 2

PROGMEM static const uint8_t ledValues[] = {
    LED_VALUE(4, 0, 0), LED_VALUE(3, 3, 0), LED_VALUE(0, 3, 0), LED_VALUE(2, 1, 0),
    LED_VALUE(0, 3, 4), LED_VALUE(2, 0, 3), LED_VALUE(2, 2, 2), LED_VALUE(4, 1, 2)
};
